import { createRouter,createWebHistory } from "vue-router";
const router = createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'/',
      redirect:'/memberadd'
    },
    {
      path:'/memberadd',
      component:()=>import('../components/MemberAdd.vue')
    },
    {
      path:'/memberlist',
      component:()=>import('../components/MemberList.vue')
    }
  ]
})
export default router